package com.fg.tliaswebmanagement.controller;

import com.fg.tliaswebmanagement.common.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.math.BigDecimal;

@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("/page")
    public Result page(){
        System.out.println("执行用户分页了。。。");
        return Result.success();
    }

    @GetMapping("/chu")
    public Result chu(){
        int i = 1/0;
        return Result.success();
    }
}
